package cn.com.sparkle.paxos.net.protocolprocessor.negotiation;

import cn.com.sparkle.paxos.net.frame.FrameBody;
import cn.com.sparkle.paxos.net.protocolprocessor.Protocol;
import cn.com.sparkle.paxos.net.protocolprocessor.ProtocolProcessor;

public class ServerNegotiationStatus {
	private String appVersion;
	private ProtocolProcessor<FrameBody> processor;
	private Protocol protocol;

	public ServerNegotiationStatus(String appVersion, ProtocolProcessor<FrameBody> processor, Protocol protocol) {
		super();
		this.appVersion = appVersion;
		this.processor = processor;
		this.protocol = protocol;
	}

	public String getAppVersion() {
		return appVersion;
	}

	public ProtocolProcessor<FrameBody> getProcessor() {
		return processor;
	}

	public Protocol getProtocol() {
		return protocol;
	}

}
